<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<html>
<head>
<title>驾校报名</title>
<script type="text/javascript" src="${path}/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="${path}/js/H-ui.js"></script>
<link href="${path}/css/H-ui.css" rel="stylesheet" type="text/css" />
<link href="${path}/css/font/font-awesome.min.css" rel="stylesheet"
	type="text/css" />

<style type="text/css">

body{
	background: url("${path}/images/car1.jpg");
	background-size:890px;
	background-repeat:no-repeat;
	background-position:right bottom;
	
}

td:nth-child(odd) {
	height: 30px;
	line-height: 30px;
	text-align: right;
	padding-right: 30px;
}
</style>


</head>

<body>
	<div class="pd-20">
		<div>
			<span class=" pd-20 f-24">驾校报名登记</span>
		</div>
		<form action="${path}/doregist" method="post">
			<table class="table  table-bg">
				<tr>
					<td>姓名</td>
					<td><input name="name" style="width: 250px" type="text" placeholder="请填写姓名"  class="input-text"> </td>
				</tr>
				<tr>
					<td>账号</td>
					<td><input name="account" style="width: 250px" type="text" placeholder="请填写账号"  class="input-text"> </td>
				</tr>
				<tr>
					<td>密码</td>
					<td><input name="password" style="width: 250px" type="password" placeholder="请填写密码"  class="input-text"> </td>
				</tr>
				<tr>
					<td>确认密码</td>
					<td><input style="width: 250px" type="password" placeholder="请再次输入密码"  class="input-text"> </td>
				</tr>
				<tr>
					<td>性　别</td>
					<td>
						<label><input checked="checked" type="radio" name="sex" value="男" /> 男</label>
						<label><input type="radio" name="sex"  value="女" /> 女</label> 
					</td>
				</tr>
				<tr>
					<td>年　龄</td>
					<td>
						<input name="age" style="width: 250px" type="number" placeholder="请输入年龄"  class="input-text">
					</td>
				</tr>
				<tr>
					<td>身份证</td>
					<td>
						<input name="idcard" style="width: 250px" type="text" placeholder="请输入身份证"  class="input-text">
					</td>
				</tr>
				
				<tr>
					<td>请选择教练</td>
					<td><span class="select-box" style="width: 250px">
						<select name="coach.id" class="select" >
						<c:forEach  var="item" items="${coachList}" >
							<option value="${item.id }" >${item.name}</option>
						</c:forEach>
						</select>
						</span>
					</td>
				</tr>
				
				<tr>
					<td>请选择报考科目</td>
					<td><span class="select-box" style="width: 250px">
						<select name="subjectCate" class="select" >
						<c:forEach  var="item" items="${subjectList}" >
							<option value="${item.name}" >${item.name}</option>
						</c:forEach>
						</select>
						</span>
					</td>
				</tr>
				<tr>
				<td>　</td>
					<td class="text-l" >
						<input type="submit" value="确认报名"  class="btn btn-success radius"  />
						<a href="${path }">返回首页</a>
					</td>
				</tr>
			
			</table>
		</form>
	</div>
	<script type="text/javascript">
		
	</script>

</body>

</html>